package com.link2room.ironhide.config.descript;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by sss on 2017/3/29.
 */
@Configuration
@ConfigurationProperties(prefix = "hotelPic")
@PropertySource("classpath:ironhide-mapping-descript.properties")
public class HotelPicDescriptConfiguration {
    public static Map<String, String> type = new HashMap<>();

    public static Map<String, String> attribute = new HashMap<>();

    public Map<String, String> getType() {
        return type;
    }

    public void setType(Map<String, String> type) {
        HotelPicDescriptConfiguration.type = type;
    }

    public Map<String, String> getAttribute() {
        return attribute;
    }

    public void setAttribute(Map<String, String> attribute) {
        HotelPicDescriptConfiguration.attribute = attribute;
    }
}
